package com.dxc.intern.mapper;

import com.dxc.intern.entity.QrCode;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 二维码(求职者扫码操作) Mapper 接口
 * </p>
 *
 * @author zhangchengming
 * @since 2022-02-21
 */
@Mapper
public interface QrCodeMapper extends BaseMapper<QrCode> {
    List<QrCode> page(int index,int size);
    int count();

    int insert(QrCode qrCode);
    int delete(Integer id);
    int update(QrCode qrCode);
//    List<QrCode> selectLike(int index, int size, @Param("qrName")String qrName,@Param("qrStatus")Integer qrStatus);
    List<QrCode> selectLike(int index, int size, @Param("qrCode") QrCode qrCode);
}
